#CB94FA#CB94FA

#CB94FA is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.7% C 0.152 H 308.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#CB94FA
RGBrgb(203, 148, 250)
HSLhsl(272, 91%, 78%)
HSVhsv(272, 41%, 98%)
CMYKcmyk(18.8%, 40.8%, 0%, 2%)
CIE-LABlab(70.02, 39.39, -43.15)
CIE-LCHlch(70.02, 58.43, 312.39°)
OKLaboklab(75.75% 0.0935 -0.1198)
OKLCHoklch(75.75% 0.152 308)
XYZxyz(52.4705, 40.7790, 95.5309)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94FA #C3FA94
analogous
#9894FA #CB94FA #FA94F6
triadic
#CB94FA #FACB94 #94FACB
tetradic
#CB94FA #FA9894 #C3FA94 #94F6FA
square
#CB94FA #FA9894 #C3FA94 #94F6FA
split-complementary
#CB94FA #F6FA94 #94FA98
monochromatic
#921FF5 #AF5AF7 #CB94FA #E7CEFD #F1E2FE

Accessibility & contrast

On white

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

On black

9.16
#CB94FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94FA
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94FA#FFFFFF#000000##000000
##CB94FA1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#C5A4BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb94fa;
/* rgb */ color: rgb(203, 148, 250);
/* oklch */ color: oklch(75.7% 0.152 308.0);
Tailwind
colors: {
  custom: {
    50: '#dcb4fc',
    500: '#cb94fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb94fa;
$custom-light: #dcb4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94fa",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 272.353,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75747,
    "c": 0.152,
    "h": 308
  },
  "luminance": 0.40778
}

Semantic roles & 50–950 ramp

primary
#CB94FA
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB94FA

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

Preview Lab → · Contrast checker → · Palette generator →

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