#7245FF#7245FF

#7245FF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.0% C 0.256 H 285.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7245FF
RGBrgb(114, 69, 255)
HSLhsl(255, 100%, 64%)
HSVhsv(255, 73%, 100%)
CMYKcmyk(55.3%, 72.9%, 0%, 0%)
CIE-LABlab(45.71, 63.17, -85.43)
CIE-LCHlch(45.71, 106.25, 306.48°)
OKLaboklab(56% 0.0697 -0.2459)
OKLCHoklch(56% 0.256 285.8)
XYZxyz(27.1121, 15.0521, 96.0651)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245FF #D2FF45
analogous
#4575FF #7245FF #CF45FF
triadic
#7245FF #FF7245 #45FF72
tetradic
#7245FF #FF4575 #D2FF45 #45FFCF
square
#7245FF #FF4575 #D2FF45 #45FFCF
split-complementary
#7245FF #FFCF45 #75FF45
monochromatic
#3100CA #4408FF #7245FF #A082FF #CFBFFF

Accessibility & contrast

On white

5.24
#7245FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7245FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245FF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245FF#FFFFFF#000000##FFFFFF
##7245FF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#2F799F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7245ff;
/* rgb */ color: rgb(114, 69, 255);
/* oklch */ color: oklch(56.0% 0.256 285.8);
Tailwind
colors: {
  custom: {
    50: '#a87dff',
    500: '#7245ff',
    950: '#000000',
  },
}
SCSS
$custom: #7245ff;
$custom-light: #a87dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7245ff",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 254.516,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.25563,
    "h": 285.8
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#7245FF
secondary
#E1F1AF
accent
#E600AE
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7245FF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7245FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva