#CB94FF#CB94FF

#CB94FF is a light, vivid violet. Relative luminance 0.411; OKLCH L 76.0% C 0.158 H 306.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CB94FF
RGBrgb(203, 148, 255)
HSLhsl(271, 100%, 79%)
HSVhsv(271, 42%, 100%)
CMYKcmyk(20.4%, 42%, 0%, 0%)
CIE-LABlab(70.24, 40.49, -45.53)
CIE-LCHlch(70.24, 60.92, 311.65°)
OKLaboklab(75.99% 0.0944 -0.1267)
OKLCHoklch(75.99% 0.158 306.7)
XYZxyz(53.2649, 41.0968, 99.7148)
Luminance0.4110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94FF #C8FF94
analogous
#9694FF #CB94FF #FF94FE
triadic
#CB94FF #FFCB94 #94FFCB
tetradic
#CB94FF #FF9694 #C8FF94 #94FEFF
square
#CB94FF #FF9694 #C8FF94 #94FEFF
split-complementary
#CB94FF #FEFF94 #94FF96
monochromatic
#901AFF #AD57FF #CB94FF #E9D1FF #F0E0FF

Accessibility & contrast

On white

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

On black

9.22
#CB94FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94FF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94FF#FFFFFF#000000##000000
##CB94FF1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#C3A5BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb94ff;
/* rgb */ color: rgb(203, 148, 255);
/* oklch */ color: oklch(76.0% 0.158 306.7);
Tailwind
colors: {
  custom: {
    50: '#dcb4ff',
    500: '#cb94ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb94ff;
$custom-light: #dcb4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94ff",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 255
  },
  "hsl": {
    "h": 270.841,
    "s": 100,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.15797,
    "h": 306.7
  },
  "luminance": 0.41096
}

Semantic roles & 50–950 ramp

primary
#CB94FF
secondary
#E5F7D4
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB94FF

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

Preview Lab → · Contrast checker → · Palette generator →

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