#9255D2#9255D2

#9255D2 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.187 H 303.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9255D2
RGBrgb(146, 85, 210)
HSLhsl(269, 58%, 58%)
HSVhsv(269, 60%, 82%)
CMYKcmyk(30.5%, 59.5%, 0%, 17.6%)
CIE-LABlab(48.59, 49.20, -55.20)
CIE-LCHlch(48.59, 73.94, 311.71°)
OKLaboklab(57.78% 0.1036 -0.1562)
OKLCHoklch(57.78% 0.187 303.5)
XYZxyz(26.7328, 17.2612, 62.8837)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255D2 #95D255
analogous
#5556D2 #9255D2 #D155D2
triadic
#9255D2 #D29255 #55D292
tetradic
#9255D2 #D25556 #95D255 #55D2D1
square
#9255D2 #D25556 #95D255 #55D2D1
split-complementary
#9255D2 #D2D155 #56D255
monochromatic
#552488 #7331B9 #9255D2 #B185DF #D0B6EC

Accessibility & contrast

On white

4.72
#9255D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9255D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255D2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255D2#FFFFFF#000000##FFFFFF
##9255D21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1572D6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#866E8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9255d2;
/* rgb */ color: rgb(146, 85, 210);
/* oklch */ color: oklch(57.8% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#b688e0',
    500: '#9255d2',
    950: '#000000',
  },
}
SCSS
$custom: #9255d2;
$custom-light: #b688e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9255d2",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 269.28,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57782,
    "c": 0.18739,
    "h": 303.5
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#9255D2
secondary
#C2DAA8
accent
#E14696
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9255D2

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

Preview Lab → · Contrast checker → · Palette generator →

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