#CB85F2#CB85F2

#CB85F2 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.9% C 0.167 H 312.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CB85F2
RGBrgb(203, 133, 242)
HSLhsl(279, 81%, 74%)
HSVhsv(279, 45%, 95%)
CMYKcmyk(16.1%, 45%, 0%, 5.1%)
CIE-LABlab(66.43, 45.72, -44.41)
CIE-LCHlch(66.43, 63.74, 315.84°)
OKLaboklab(72.94% 0.1129 -0.1234)
OKLCHoklch(72.94% 0.167 312.5)
XYZxyz(49.0404, 35.8834, 88.3300)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85F2 #ACF285
analogous
#9485F2 #CB85F2 #F285E2
triadic
#CB85F2 #F2CB85 #85F2CB
tetradic
#CB85F2 #F29485 #ACF285 #85E2F2
square
#CB85F2 #F29485 #ACF285 #85E2F2
split-complementary
#CB85F2 #E2F285 #85F294
monochromatic
#9B18E4 #B34EEC #CB85F2 #E3BCF8 #F3E3FC

Accessibility & contrast

On white

2.57
#CB85F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#CB85F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85F2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85F2#FFFFFF#000000##000000
##CB85F21.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#C795B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb85f2;
/* rgb */ color: rgb(203, 133, 242);
/* oklch */ color: oklch(72.9% 0.167 312.5);
Tailwind
colors: {
  custom: {
    50: '#ddaaf7',
    500: '#cb85f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb85f2;
$custom-light: #ddaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85f2",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 278.532,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72935,
    "c": 0.16726,
    "h": 312.5
  },
  "luminance": 0.35882
}

Semantic roles & 50–950 ramp

primary
#CB85F2
secondary
#E1F4D7
accent
#DD0855
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB85F2

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

Preview Lab → · Contrast checker → · Palette generator →

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