#9255CE#9255CE

#9255CE is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.183 H 304.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9255CE
RGBrgb(146, 85, 206)
HSLhsl(270, 55%, 57%)
HSVhsv(270, 59%, 81%)
CMYKcmyk(29.1%, 58.7%, 0%, 19.2%)
CIE-LABlab(48.34, 48.24, -53.30)
CIE-LCHlch(48.34, 71.89, 312.15°)
OKLaboklab(57.52% 0.1036 -0.1506)
OKLCHoklch(57.52% 0.183 304.5)
XYZxyz(26.2407, 17.0643, 60.2919)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255CE #91CE55
analogous
#5655CE #9255CE #CE55CD
triadic
#9255CE #CE9255 #55CE92
tetradic
#9255CE #CE5655 #91CE55 #55CDCE
square
#9255CE #CE5655 #91CE55 #55CDCE
split-complementary
#9255CE #CDCE55 #55CE56
monochromatic
#552683 #7333B2 #9255CE #B085DC #CFB4E9

Accessibility & contrast

On white

4.76
#9255CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9255CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255CE#FFFFFF#000000##FFFFFF
##9255CE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#876D89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9255ce;
/* rgb */ color: rgb(146, 85, 206);
/* oklch */ color: oklch(57.5% 0.183 304.5);
Tailwind
colors: {
  custom: {
    50: '#b687de',
    500: '#9255ce',
    950: '#000000',
  },
}
SCSS
$custom: #9255ce;
$custom-light: #b687de;
$custom-dark: #000000;
JSON
{
  "hex": "#9255ce",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 270.248,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.18281,
    "h": 304.5
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#9255CE
secondary
#BFD8A7
accent
#DF4993
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9255CE

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

Preview Lab → · Contrast checker → · Palette generator →

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