#CB94FB#CB94FB

#CB94FB is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.8% C 0.153 H 307.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CB94FB
RGBrgb(203, 148, 251)
HSLhsl(272, 93%, 78%)
HSVhsv(272, 41%, 98%)
CMYKcmyk(19.1%, 41%, 0%, 1.6%)
CIE-LABlab(70.06, 39.61, -43.63)
CIE-LCHlch(70.06, 58.93, 312.23°)
OKLaboklab(75.8% 0.0937 -0.1212)
OKLCHoklch(75.8% 0.153 307.7)
XYZxyz(52.6277, 40.8419, 96.3589)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94FB #C4FB94
analogous
#9794FB #CB94FB #FB94F7
triadic
#CB94FB #FBCB94 #94FBCB
tetradic
#CB94FB #FB9794 #C4FB94 #94F7FB
square
#CB94FB #FB9794 #C4FB94 #94F7FB
split-complementary
#CB94FB #F7FB94 #94FB97
monochromatic
#921EF7 #AE59F9 #CB94FB #E8CFFD #F1E2FE

Accessibility & contrast

On white

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

On black

9.17
#CB94FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94FB
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94FB#FFFFFF#000000##000000
##CB94FB1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb94fb;
/* rgb */ color: rgb(203, 148, 251);
/* oklch */ color: oklch(75.8% 0.153 307.7);
Tailwind
colors: {
  custom: {
    50: '#dcb4fd',
    500: '#cb94fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb94fb;
$custom-light: #dcb4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94fb",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 251
  },
  "hsl": {
    "h": 272.039,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75795,
    "c": 0.1532,
    "h": 307.7
  },
  "luminance": 0.40841
}

Semantic roles & 50–950 ramp

primary
#CB94FB
secondary
#E4F6D5
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB94FB

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

Preview Lab → · Contrast checker → · Palette generator →

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