#9854CB#9854CB

#9854CB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.183 H 308.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9854CB
RGBrgb(152, 84, 203)
HSLhsl(274, 53%, 56%)
HSVhsv(274, 59%, 80%)
CMYKcmyk(25.1%, 58.6%, 0%, 20.4%)
CIE-LABlab(48.67, 49.51, -51.01)
CIE-LCHlch(48.67, 71.09, 314.14°)
OKLaboklab(57.86% 0.1126 -0.1437)
OKLCHoklch(57.86% 0.183 308.1)
XYZxyz(26.8965, 17.3282, 58.4161)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854CB #87CB54
analogous
#5D54CB #9854CB #CB54C2
triadic
#9854CB #CB9854 #54CB98
tetradic
#9854CB #CB5D54 #87CB54 #54C2CB
square
#9854CB #CB5D54 #87CB54 #54C2CB
split-complementary
#9854CB #C2CB54 #54CB5D
monochromatic
#59267E #7A35AD #9854CB #B483D9 #D1B2E8

Accessibility & contrast

On white

4.70
#9854CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9854CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9854CB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854CB#FFFFFF#000000##FFFFFF
##9854CB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#906B88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9854cb;
/* rgb */ color: rgb(152, 84, 203);
/* oklch */ color: oklch(57.9% 0.183 308.1);
Tailwind
colors: {
  custom: {
    50: '#ba87db',
    500: '#9854cb',
    950: '#000000',
  },
}
SCSS
$custom: #9854cb;
$custom-light: #ba87db;
$custom-dark: #000000;
JSON
{
  "hex": "#9854cb",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 274.286,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.18254,
    "h": 308.1
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#9854CB
secondary
#BAD6A5
accent
#DD4B89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9854CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9854CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva