#CB85F7#CB85F7

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

Color values

HEX#CB85F7
RGBrgb(203, 133, 247)
HSLhsl(277, 88%, 75%)
HSVhsv(277, 46%, 97%)
CMYKcmyk(17.8%, 46.2%, 0%, 3.1%)
CIE-LABlab(66.66, 46.79, -46.79)
CIE-LCHlch(66.66, 66.17, 315.00°)
OKLaboklab(73.19% 0.1137 -0.1303)
OKLCHoklch(73.19% 0.173 311.1)
XYZxyz(49.8016, 36.1879, 92.3391)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85F7 #B1F785
analogous
#9285F7 #CB85F7 #F785EA
triadic
#CB85F7 #F7CB85 #85F7CB
tetradic
#CB85F7 #F79285 #B1F785 #85EAF7
square
#CB85F7 #F79285 #B1F785 #85EAF7
split-complementary
#CB85F7 #EAF785 #85F792
monochromatic
#9A12EF #B34CF3 #CB85F7 #E3BEFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.24
#CB85F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85F7
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85F7#FFFFFF#000000##000000
##CB85F71.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#7EA4F4
Tritanopia (blue-blind)
#C697B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb85f7;
/* rgb */ color: rgb(203, 133, 247);
/* oklch */ color: oklch(73.2% 0.173 311.1);
Tailwind
colors: {
  custom: {
    50: '#ddaafa',
    500: '#cb85f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb85f7;
$custom-light: #ddaafa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85f7",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 276.842,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73185,
    "c": 0.17288,
    "h": 311.1
  },
  "luminance": 0.36187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB85F7

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

Preview Lab → · Contrast checker → · Palette generator →

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