#9255DB#9255DB

#9255DB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.4% C 0.198 H 301.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9255DB
RGBrgb(146, 85, 219)
HSLhsl(267, 65%, 60%)
HSVhsv(267, 61%, 86%)
CMYKcmyk(33.3%, 61.2%, 0%, 14.1%)
CIE-LABlab(49.16, 51.39, -59.41)
CIE-LCHlch(49.16, 78.55, 310.86°)
OKLaboklab(58.38% 0.1033 -0.1685)
OKLCHoklch(58.38% 0.198 301.5)
XYZxyz(27.8857, 17.7224, 68.9557)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255DB #9EDB55
analogous
#555BDB #9255DB #D555DB
triadic
#9255DB #DB9255 #55DB92
tetradic
#9255DB #DB555B #9EDB55 #55DBD5
square
#9255DB #DB555B #9EDB55 #55DBD5
split-complementary
#9255DB #DBD555 #5BDB55
monochromatic
#562096 #722AC8 #9255DB #B288E6 #D3BAF0

Accessibility & contrast

On white

4.62
#9255DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9255DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9255DB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255DB#FFFFFF#000000##FFFFFF
##9255DB1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2974D8
Tritanopia (blue-blind)
#837190
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9255db;
/* rgb */ color: rgb(146, 85, 219);
/* oklch */ color: oklch(58.4% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#b688e7',
    500: '#9255db',
    950: '#000000',
  },
}
SCSS
$custom: #9255db;
$custom-light: #b688e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9255db",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 267.313,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58379,
    "c": 0.19767,
    "h": 301.5
  },
  "luminance": 0.17722
}

Semantic roles & 50–950 ramp

primary
#9255DB
secondary
#C8E0AC
accent
#E8409B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9255DB

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

Preview Lab → · Contrast checker → · Palette generator →

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