#CB94FC#CB94FC

#CB94FC is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.8% C 0.154 H 307.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CB94FC
RGBrgb(203, 148, 252)
HSLhsl(272, 95%, 78%)
HSVhsv(272, 41%, 99%)
CMYKcmyk(19.4%, 41.3%, 0%, 1.2%)
CIE-LABlab(70.11, 39.83, -44.10)
CIE-LCHlch(70.11, 59.43, 312.08°)
OKLaboklab(75.84% 0.0939 -0.1226)
OKLCHoklch(75.84% 0.154 307.4)
XYZxyz(52.7858, 40.9051, 97.1913)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94FC #C5FC94
analogous
#9794FC #CB94FC #FC94F9
triadic
#CB94FC #FCCB94 #94FCCB
tetradic
#CB94FC #FC9794 #C5FC94 #94F9FC
square
#CB94FC #FC9794 #C5FC94 #94F9FC
split-complementary
#CB94FC #F9FC94 #94FC97
monochromatic
#911DF9 #AE58FA #CB94FC #E8D0FE #F1E1FE

Accessibility & contrast

On white

2.29
#CB94FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#CB94FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94FC
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94FC#FFFFFF#000000##000000
##CB94FC1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#C4A4BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb94fc;
/* rgb */ color: rgb(203, 148, 252);
/* oklch */ color: oklch(75.8% 0.154 307.4);
Tailwind
colors: {
  custom: {
    50: '#dcb4fe',
    500: '#cb94fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb94fc;
$custom-light: #dcb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94fc",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 271.731,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75843,
    "c": 0.15439,
    "h": 307.4
  },
  "luminance": 0.40905
}

Semantic roles & 50–950 ramp

primary
#CB94FC
secondary
#E5F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB94FC

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

Preview Lab → · Contrast checker → · Palette generator →

#CB94FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva