#CB94EF#CB94EF

#CB94EF is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.2% C 0.139 H 311.1°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#CB94EF
RGBrgb(203, 148, 239)
HSLhsl(276, 74%, 76%)
HSVhsv(276, 38%, 94%)
CMYKcmyk(15.1%, 38.1%, 0%, 6.3%)
CIE-LABlab(69.55, 37.02, -37.89)
CIE-LCHlch(69.55, 52.97, 314.34°)
OKLaboklab(75.23% 0.0914 -0.1047)
OKLCHoklch(75.23% 0.139 311.1)
XYZxyz(50.7958, 40.1091, 86.7105)
Luminance0.4011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94EF #B8EF94
analogous
#9D94EF #CB94EF #EF94E5
triadic
#CB94EF #EFCB94 #94EFCB
tetradic
#CB94EF #EF9D94 #B8EF94 #94E5EF
square
#CB94EF #EF9D94 #B8EF94 #94E5EF
split-complementary
#CB94EF #E5EF94 #94EF9D
monochromatic
#972ADF #B15FE7 #CB94EF #E5C9F7 #F2E4FB

Accessibility & contrast

On white

2.33
#CB94EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#CB94EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94EF
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94EF#FFFFFF#000000##000000
##CB94EF1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#C7A1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb94ef;
/* rgb */ color: rgb(203, 148, 239);
/* oklch */ color: oklch(75.2% 0.139 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcb4f4',
    500: '#cb94ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb94ef;
$custom-light: #dcb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94ef",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 276.264,
    "s": 73.984,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75234,
    "c": 0.13894,
    "h": 311.1
  },
  "luminance": 0.40108
}

Semantic roles & 50–950 ramp

primary
#CB94EF
secondary
#E3F3D8
accent
#D60F5E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB94EF

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

Preview Lab → · Contrast checker → · Palette generator →

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