#9854F3#9854F3

#9854F3 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.227 H 299.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9854F3
RGBrgb(152, 84, 243)
HSLhsl(266, 87%, 64%)
HSVhsv(266, 65%, 95%)
CMYKcmyk(37.4%, 65.4%, 0%, 4.7%)
CIE-LABlab(51.25, 59.01, -69.52)
CIE-LCHlch(51.25, 91.19, 310.33°)
OKLaboklab(60.55% 0.1103 -0.1981)
OKLCHoklch(60.55% 0.227 299.1)
XYZxyz(32.2928, 19.4867, 86.8366)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854F3 #AFF354
analogous
#5460F3 #9854F3 #E754F3
triadic
#9854F3 #F39854 #54F398
tetradic
#9854F3 #F35460 #AFF354 #54F3E7
square
#9854F3 #F35460 #AFF354 #54F3E7
split-complementary
#9854F3 #F3E754 #60F354
monochromatic
#590DBF #761BEF #9854F3 #BA8DF7 #DDC6FB

Accessibility & contrast

On white

4.29
#9854F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9854F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854F3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854F3#FFFFFF#000000##000000
##9854F31.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#83799D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9854f3;
/* rgb */ color: rgb(152, 84, 243);
/* oklch */ color: oklch(60.6% 0.227 299.1);
Tailwind
colors: {
  custom: {
    50: '#bc88f8',
    500: '#9854f3',
    950: '#000000',
  },
}
SCSS
$custom: #9854f3;
$custom-light: #bc88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9854f3",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 265.66,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.22671,
    "h": 299.1
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#9854F3
secondary
#D5EDB6
accent
#E30283
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9854F3

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

Preview Lab → · Contrast checker → · Palette generator →

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