#9255DD#9255DD

#9255DD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.5% C 0.200 H 301.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9255DD
RGBrgb(146, 85, 221)
HSLhsl(267, 67%, 60%)
HSVhsv(267, 62%, 87%)
CMYKcmyk(33.9%, 61.5%, 0%, 13.3%)
CIE-LABlab(49.29, 51.88, -60.34)
CIE-LCHlch(49.29, 79.57, 310.69°)
OKLaboklab(58.51% 0.1032 -0.1713)
OKLCHoklch(58.51% 0.2 301.1)
XYZxyz(28.1506, 17.8283, 70.3507)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255DD #A0DD55
analogous
#555CDD #9255DD #D655DD
triadic
#9255DD #DD9255 #55DD92
tetradic
#9255DD #DD555C #A0DD55 #55DDD6
square
#9255DD #DD555C #A0DD55 #55DDD6
split-complementary
#9255DD #DDD655 #5CDD55
monochromatic
#561F99 #7229CC #9255DD #B388E7 #D3BBF1

Accessibility & contrast

On white

4.60
#9255DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9255DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9255DD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255DD#FFFFFF#000000##FFFFFF
##9255DD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#827291
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9255dd;
/* rgb */ color: rgb(146, 85, 221);
/* oklch */ color: oklch(58.5% 0.200 301.1);
Tailwind
colors: {
  custom: {
    50: '#b788e8',
    500: '#9255dd',
    950: '#000000',
  },
}
SCSS
$custom: #9255dd;
$custom-light: #b788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9255dd",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 266.912,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.58515,
    "c": 0.19995,
    "h": 301.1
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#9255DD
secondary
#CAE1AD
accent
#EA3E9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9255DD

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

Preview Lab → · Contrast checker → · Palette generator →

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