#CB94FD#CB94FD

#CB94FD is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.9% C 0.156 H 307.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CB94FD
RGBrgb(203, 148, 253)
HSLhsl(271, 96%, 79%)
HSVhsv(271, 42%, 99%)
CMYKcmyk(19.8%, 41.5%, 0%, 0.8%)
CIE-LABlab(70.15, 40.05, -44.58)
CIE-LCHlch(70.15, 59.92, 311.93°)
OKLaboklab(75.89% 0.0941 -0.1239)
OKLCHoklch(75.89% 0.156 307.2)
XYZxyz(52.9447, 40.9687, 98.0280)
Luminance0.4097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94FD #C6FD94
analogous
#9694FD #CB94FD #FD94FA
triadic
#CB94FD #FDCB94 #94FDCB
tetradic
#CB94FD #FD9694 #C6FD94 #94FAFD
square
#CB94FD #FD9694 #C6FD94 #94FAFD
split-complementary
#CB94FD #FAFD94 #94FD96
monochromatic
#911CFB #AE58FC #CB94FD #E8D0FE #F0E1FE

Accessibility & contrast

On white

2.28
#CB94FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#CB94FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94FD
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94FD#FFFFFF#000000##000000
##CB94FD1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#C4A5BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb94fd;
/* rgb */ color: rgb(203, 148, 253);
/* oklch */ color: oklch(75.9% 0.156 307.2);
Tailwind
colors: {
  custom: {
    50: '#dcb4fe',
    500: '#cb94fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb94fd;
$custom-light: #dcb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94fd",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 253
  },
  "hsl": {
    "h": 271.429,
    "s": 96.33,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75891,
    "c": 0.15558,
    "h": 307.2
  },
  "luminance": 0.40968
}

Semantic roles & 50–950 ramp

primary
#CB94FD
secondary
#E5F7D4
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB94FD

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

Preview Lab → · Contrast checker → · Palette generator →

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