#CB89FA#CB89FA

#CB89FA is a light, vivid violet. Relative luminance 0.375; OKLCH L 74.0% C 0.170 H 309.8°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CB89FA
RGBrgb(203, 137, 250)
HSLhsl(275, 92%, 76%)
HSVhsv(275, 45%, 98%)
CMYKcmyk(18.8%, 45.2%, 0%, 2%)
CIE-LABlab(67.64, 45.31, -46.89)
CIE-LCHlch(67.64, 65.20, 314.02°)
OKLaboklab(73.96% 0.1086 -0.1306)
OKLCHoklch(73.96% 0.17 309.8)
XYZxyz(50.8264, 37.4907, 94.9829)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89FA #B8FA89
analogous
#9289FA #CB89FA #FA89F1
triadic
#CB89FA #FACB89 #89FACB
tetradic
#CB89FA #FA9289 #B8FA89 #89F1FA
square
#CB89FA #FA9289 #B8FA89 #89F1FA
split-complementary
#CB89FA #F1FA89 #89FA92
monochromatic
#9714F5 #B14EF8 #CB89FA #E5C4FC #F2E2FE

Accessibility & contrast

On white

2.47
#CB89FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CB89FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89FA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89FA#FFFFFF#000000##000000
##CB89FA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#C59BB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb89fa;
/* rgb */ color: rgb(203, 137, 250);
/* oklch */ color: oklch(74.0% 0.170 309.8);
Tailwind
colors: {
  custom: {
    50: '#ddadfc',
    500: '#cb89fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb89fa;
$custom-light: #ddadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89fa",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 275.044,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73963,
    "c": 0.16985,
    "h": 309.8
  },
  "luminance": 0.3749
}

Semantic roles & 50–950 ramp

primary
#CB89FA
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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