#7245CC#7245CC
#7245CC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.198 H 293.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7245CC |
|---|---|
| RGB | rgb(114, 69, 204) |
| HSL | hsl(260, 57%, 54%) |
| HSV | hsv(260, 66%, 80%) |
| CMYK | cmyk(44.1%, 66.2%, 0%, 20%) |
| CIE-LAB | lab(41.52, 49.28, -63.34) |
| CIE-LCH | lch(41.52, 80.25, 307.88°) |
| OKLab | oklab(51.73% 0.0792 -0.1811) |
| OKLCH | oklch(51.73% 0.198 293.6) |
| XYZ | xyz(19.9637, 12.1927, 58.4166) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.94
Bluish Purple
#703BE7
ΔE00 3.80
Burple
#6832E3
ΔE00 4.73
Purpleish Blue
#6140EF
ΔE00 5.08
Purpley Blue
#5F34E7
ΔE00 5.32
Blurple
#5539CC
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7245CC #9FCC45
analogous
#455BCC #7245CC #B545CC
triadic
#7245CC #CC7245 #45CC72
tetradic
#7245CC #CC455B #9FCC45 #45CCB5
square
#7245CC #CC455B #9FCC45 #45CCB5
split-complementary
#7245CC #CCB545 #5BCC45
monochromatic
#3D2076 #562EA6 #7245CC #9675D9 #BBA5E6
Accessibility & contrast
On white
6.11
#7245CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7245CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7245CC
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7245CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7245CC | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#596583
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7245cc; /* rgb */ color: rgb(114, 69, 204); /* oklch */ color: oklch(51.7% 0.198 293.6);
Tailwind
colors: {
custom: {
50: '#a17bdc',
500: '#7245cc',
950: '#000000',
},
}SCSS
$custom: #7245cc; $custom-light: #a17bdc; $custom-dark: #000000;
JSON
{
"hex": "#7245cc",
"rgb": {
"r": 114,
"g": 69,
"b": 204
},
"hsl": {
"h": 260,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.5173,
"c": 0.19767,
"h": 293.6
},
"luminance": 0.12193
}Semantic roles & 50–950 ramp
primary
#7245CC
secondary
#C0D399
accent
#E048AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83