#CB85F5#CB85F5

#CB85F5 is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.1% C 0.171 H 311.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CB85F5
RGBrgb(203, 133, 245)
HSLhsl(278, 85%, 74%)
HSVhsv(278, 46%, 96%)
CMYKcmyk(17.1%, 45.7%, 0%, 3.9%)
CIE-LABlab(66.57, 46.36, -45.84)
CIE-LCHlch(66.57, 65.19, 315.32°)
OKLaboklab(73.08% 0.1134 -0.1275)
OKLCHoklch(73.08% 0.171 311.6)
XYZxyz(49.4947, 36.0651, 90.7224)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85F5 #AFF585
analogous
#9385F5 #CB85F5 #F585E7
triadic
#CB85F5 #F5CB85 #85F5CB
tetradic
#CB85F5 #F59385 #AFF585 #85E7F5
square
#CB85F5 #F59385 #AFF585 #85E7F5
split-complementary
#CB85F5 #E7F585 #85F593
monochromatic
#9B14EC #B34CF0 #CB85F5 #E3BEFA #F3E3FD

Accessibility & contrast

On white

2.56
#CB85F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CB85F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85F5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85F5#FFFFFF#000000##000000
##CB85F51.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF9
Deuteranopia (green-blind)
#7FA3F2
Tritanopia (blue-blind)
#C796B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb85f5;
/* rgb */ color: rgb(203, 133, 245);
/* oklch */ color: oklch(73.1% 0.171 311.6);
Tailwind
colors: {
  custom: {
    50: '#ddaaf9',
    500: '#cb85f5',
    950: '#000000',
  },
}
SCSS
$custom: #cb85f5;
$custom-light: #ddaaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85f5",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 277.5,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73085,
    "c": 0.17063,
    "h": 311.6
  },
  "luminance": 0.36064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB85F5

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

Preview Lab → · Contrast checker → · Palette generator →

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