#B274F7#B274F7
#B274F7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.192 H 303.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B274F7 |
|---|---|
| RGB | rgb(178, 116, 247) |
| HSL | hsl(268, 89%, 71%) |
| HSV | hsv(268, 53%, 97%) |
| CMYK | cmyk(27.9%, 53%, 0%, 3.1%) |
| CIE-LAB | lab(60.49, 49.29, -56.74) |
| CIE-LCH | lch(60.49, 75.16, 310.98°) |
| OKLab | oklab(68% 0.106 -0.1598) |
| OKLCH | oklch(68% 0.192 303.6) |
| XYZ | xyz(41.3903, 28.6712, 91.3312) |
| Luminance | 0.2867 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.20
Easter Purple
#C071FE
ΔE00 2.49
Light Purple
#BF77F6
ΔE00 2.64
Bright Lavender
#C760FF
ΔE00 5.01
Bright Lilac
#C95EFB
ΔE00 5.51
Mediumpurple
#9370DB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B274F7 #B9F774
analogous
#7477F7 #B274F7 #F474F7
triadic
#B274F7 #F7B274 #74F7B2
tetradic
#B274F7 #F77477 #B9F774 #74F7F4
square
#B274F7 #F77477 #B9F774 #74F7F4
split-complementary
#B274F7 #F7F474 #77F774
monochromatic
#730DE4 #923AF4 #B274F7 #D2AEFA #EFE2FD
Accessibility & contrast
On white
3.12
#B274F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#B274F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B274F7
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B274F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B274F7 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4690FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#A68DAB
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b274f7; /* rgb */ color: rgb(178, 116, 247); /* oklch */ color: oklch(68.0% 0.192 303.6);
Tailwind
colors: {
custom: {
50: '#cc9efa',
500: '#b274f7',
950: '#000000',
},
}SCSS
$custom: #b274f7; $custom-light: #cc9efa; $custom-dark: #000000;
JSON
{
"hex": "#b274f7",
"rgb": {
"r": 178,
"g": 116,
"b": 247
},
"hsl": {
"h": 268.397,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.68003,
"c": 0.19181,
"h": 303.6
},
"luminance": 0.28671
}Semantic roles & 50–950 ramp
primary
#B274F7
secondary
#E4F5D2
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85