#F26BF2#F26BF2
#F26BF2 is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.9% C 0.227 H 327.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #F26BF2 |
|---|---|
| RGB | rgb(242, 107, 242) |
| HSL | hsl(300, 84%, 68%) |
| HSV | hsv(300, 56%, 95%) |
| CMYK | cmyk(0%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(66.37, 68.81, -44.17) |
| CIE-LCH | lch(66.37, 81.76, 327.30°) |
| OKLab | oklab(73.9% 0.1915 -0.1217) |
| OKLCH | oklch(73.9% 0.227 327.6) |
| XYZ | xyz(57.9018, 35.8070, 87.8488) |
| Luminance | 0.3580 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.81
Violet Pink
#FB5FFC
ΔE00 2.11
Purply Pink
#F075E6
ΔE00 2.73
Candy Pink
#FF63E9
ΔE00 2.86
Violet (CSS)
#EE82EE
ΔE00 4.24
Orchid
#DA70D6
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F26BF2 #6BF26B
analogous
#AE6BF2 #F26BF2 #F26BAE
triadic
#F26BF2 #F2F26B #6BF2F2
tetradic
#F26BF2 #F2AE6B #6BF26B #6BAEF2
square
#F26BF2 #F2AE6B #6BF26B #6BAEF2
split-complementary
#F26BF2 #AEF26B #6BF2AE
monochromatic
#D012D0 #ED33ED #F26BF2 #F7A3F7 #FCDCFC
Accessibility & contrast
On white
2.57
#F26BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#F26BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F26BF2
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F26BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F26BF2 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#89A8EE
Tritanopia (blue-blind)
#F97BA5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f26bf2; /* rgb */ color: rgb(242, 107, 242); /* oklch */ color: oklch(73.9% 0.227 327.6);
Tailwind
colors: {
custom: {
50: '#f99cf7',
500: '#f26bf2',
950: '#000000',
},
}SCSS
$custom: #f26bf2; $custom-light: #f99cf7; $custom-dark: #000000;
JSON
{
"hex": "#f26bf2",
"rgb": {
"r": 242,
"g": 107,
"b": 242
},
"hsl": {
"h": 300,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.73904,
"c": 0.22685,
"h": 327.6
},
"luminance": 0.35803
}Semantic roles & 50–950 ramp
primary
#F26BF2
secondary
#C8F1C8
accent
#E00505
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85