#9255DC#9255DC

#9255DC is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.199 H 301.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9255DC
RGBrgb(146, 85, 220)
HSLhsl(267, 66%, 60%)
HSVhsv(267, 61%, 86%)
CMYKcmyk(33.6%, 61.4%, 0%, 13.7%)
CIE-LABlab(49.22, 51.63, -59.87)
CIE-LCHlch(49.22, 79.06, 310.77°)
OKLaboklab(58.45% 0.1032 -0.1699)
OKLCHoklch(58.45% 0.199 301.3)
XYZxyz(28.0178, 17.7752, 69.6511)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255DC #9FDC55
analogous
#555CDC #9255DC #D655DC
triadic
#9255DC #DC9255 #55DC92
tetradic
#9255DC #DC555C #9FDC55 #55DCD6
square
#9255DC #DC555C #9FDC55 #55DCD6
split-complementary
#9255DC #DCD655 #5CDC55
monochromatic
#561F97 #722ACA #9255DC #B388E6 #D3BBF1

Accessibility & contrast

On white

4.61
#9255DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9255DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9255DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255DC#FFFFFF#000000##FFFFFF
##9255DC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#837291
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9255dc;
/* rgb */ color: rgb(146, 85, 220);
/* oklch */ color: oklch(58.4% 0.199 301.3);
Tailwind
colors: {
  custom: {
    50: '#b788e8',
    500: '#9255dc',
    950: '#000000',
  },
}
SCSS
$custom: #9255dc;
$custom-light: #b788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9255dc",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 267.111,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.19881,
    "h": 301.3
  },
  "luminance": 0.17775
}

Semantic roles & 50–950 ramp

primary
#9255DC
secondary
#C9E0AC
accent
#E93F9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9255DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9255DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva