#9255DF#9255DF

#9255DF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.202 H 300.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9255DF
RGBrgb(146, 85, 223)
HSLhsl(267, 68%, 60%)
HSVhsv(267, 62%, 87%)
CMYKcmyk(34.5%, 61.9%, 0%, 12.5%)
CIE-LABlab(49.42, 52.37, -61.26)
CIE-LCHlch(49.42, 80.59, 310.53°)
OKLaboklab(58.65% 0.1031 -0.174)
OKLCHoklch(58.65% 0.202 300.6)
XYZxyz(28.4186, 17.9355, 71.7624)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255DF #A2DF55
analogous
#555DDF #9255DF #D755DF
triadic
#9255DF #DF9255 #55DF92
tetradic
#9255DF #DF555D #A2DF55 #55DFD7
square
#9255DF #DF555D #A2DF55 #55DFD7
split-complementary
#9255DF #DFD755 #5DDF55
monochromatic
#551D9C #7227D0 #9255DF #B389E9 #D4BCF2

Accessibility & contrast

On white

4.58
#9255DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9255DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9255DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255DF#FFFFFF#000000##000000
##9255DF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#2175DC
Tritanopia (blue-blind)
#827392
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9255df;
/* rgb */ color: rgb(146, 85, 223);
/* oklch */ color: oklch(58.7% 0.202 300.6);
Tailwind
colors: {
  custom: {
    50: '#b788ea',
    500: '#9255df',
    950: '#000000',
  },
}
SCSS
$custom: #9255df;
$custom-light: #b788ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9255df",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 266.522,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.20222,
    "h": 300.6
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#9255DF
secondary
#CBE2AE
accent
#D0157E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9255DF

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

Preview Lab → · Contrast checker → · Palette generator →

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