#CB95FA#CB95FA

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

Color values

HEX#CB95FA
RGBrgb(203, 149, 250)
HSLhsl(272, 91%, 78%)
HSVhsv(272, 40%, 98%)
CMYKcmyk(18.8%, 40.4%, 0%, 2%)
CIE-LABlab(70.24, 38.85, -42.81)
CIE-LCHlch(70.24, 57.81, 312.22°)
OKLaboklab(75.91% 0.0921 -0.1188)
OKLCHoklch(75.91% 0.15 307.8)
XYZxyz(52.6280, 41.0941, 95.5834)
Luminance0.4109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95FA #C4FA95
analogous
#9895FA #CB95FA #FA95F7
triadic
#CB95FA #FACB95 #95FACB
tetradic
#CB95FA #FA9895 #C4FA95 #95F7FA
square
#CB95FA #FA9895 #C4FA95 #95F7FA
split-complementary
#CB95FA #F7FA95 #95FA98
monochromatic
#9220F4 #AE5BF7 #CB95FA #E8CFFD #F1E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB95FA#FFFFFF#000000##000000
##CB95FA1.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)
#7FAAFE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#C5A5BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb95fa;
/* rgb */ color: rgb(203, 149, 250);
/* oklch */ color: oklch(75.9% 0.150 307.8);
Tailwind
colors: {
  custom: {
    50: '#dcb5fc',
    500: '#cb95fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb95fa;
$custom-light: #dcb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95fa",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 272.079,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75914,
    "c": 0.15036,
    "h": 307.8
  },
  "luminance": 0.41094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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