#CB85F8#CB85F8

#CB85F8 is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.2% C 0.174 H 310.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CB85F8
RGBrgb(203, 133, 248)
HSLhsl(277, 89%, 75%)
HSVhsv(277, 46%, 97%)
CMYKcmyk(18.1%, 46.4%, 0%, 2.7%)
CIE-LABlab(66.71, 47.00, -47.26)
CIE-LCHlch(66.71, 66.65, 314.84°)
OKLaboklab(73.24% 0.1138 -0.1316)
OKLCHoklch(73.24% 0.174 310.8)
XYZxyz(49.9563, 36.2498, 93.1540)
Luminance0.3625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85F8 #B2F885
analogous
#9285F8 #CB85F8 #F885EB
triadic
#CB85F8 #F8CB85 #85F8CB
tetradic
#CB85F8 #F89285 #B2F885 #85EBF8
square
#CB85F8 #F89285 #B2F885 #85EBF8
split-complementary
#CB85F8 #EBF885 #85F892
monochromatic
#9A11F1 #B24BF5 #CB85F8 #E4BFFB #F3E2FD

Accessibility & contrast

On white

2.55
#CB85F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#CB85F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85F8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85F8#FFFFFF#000000##000000
##CB85F81.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#7EA4F5
Tritanopia (blue-blind)
#C697B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb85f8;
/* rgb */ color: rgb(203, 133, 248);
/* oklch */ color: oklch(73.2% 0.174 310.8);
Tailwind
colors: {
  custom: {
    50: '#ddaafb',
    500: '#cb85f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb85f8;
$custom-light: #ddaafb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85f8",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 276.522,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73235,
    "c": 0.174,
    "h": 310.8
  },
  "luminance": 0.36249
}

Semantic roles & 50–950 ramp

primary
#CB85F8
secondary
#E2F5D6
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB85F8

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

Preview Lab → · Contrast checker → · Palette generator →

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