#9255CD#9255CD

#9255CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.5% C 0.182 H 304.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9255CD
RGBrgb(146, 85, 205)
HSLhsl(271, 55%, 57%)
HSVhsv(271, 59%, 80%)
CMYKcmyk(28.8%, 58.5%, 0%, 19.6%)
CIE-LABlab(48.28, 48.00, -52.83)
CIE-LCHlch(48.28, 71.38, 312.26°)
OKLaboklab(57.46% 0.1036 -0.1492)
OKLCHoklch(57.46% 0.182 304.8)
XYZxyz(26.1196, 17.0159, 59.6541)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255CD #90CD55
analogous
#5655CD #9255CD #CD55CC
triadic
#9255CD #CD9255 #55CD92
tetradic
#9255CD #CD5655 #90CD55 #55CCCD
square
#9255CD #CD5655 #90CD55 #55CCCD
split-complementary
#9255CD #CCCD55 #55CD56
monochromatic
#552682 #7334B1 #9255CD #B084DB #CFB4E9

Accessibility & contrast

On white

4.77
#9255CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9255CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255CD#FFFFFF#000000##FFFFFF
##9255CD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#886D89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9255cd;
/* rgb */ color: rgb(146, 85, 205);
/* oklch */ color: oklch(57.5% 0.182 304.8);
Tailwind
colors: {
  custom: {
    50: '#b587dd',
    500: '#9255cd',
    950: '#000000',
  },
}
SCSS
$custom: #9255cd;
$custom-light: #b587dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9255cd",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 270.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57459,
    "c": 0.18166,
    "h": 304.8
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#9255CD
secondary
#BED7A6
accent
#DE4A93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9255CD

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

Preview Lab → · Contrast checker → · Palette generator →

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