#9257DD#9257DD

#9257DD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.8% C 0.197 H 300.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9257DD
RGBrgb(146, 87, 221)
HSLhsl(266, 66%, 60%)
HSVhsv(266, 61%, 87%)
CMYKcmyk(33.9%, 60.6%, 0%, 13.3%)
CIE-LABlab(49.67, 50.84, -59.71)
CIE-LCHlch(49.67, 78.42, 310.41°)
OKLaboklab(58.8% 0.1008 -0.1694)
OKLCHoklch(58.8% 0.197 300.8)
XYZxyz(28.3103, 18.1477, 70.4039)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257DD #A2DD57
analogous
#575FDD #9257DD #D557DD
triadic
#9257DD #DD9257 #57DD92
tetradic
#9257DD #DD575F #A2DD57 #57DDD5
square
#9257DD #DD575F #A2DD57 #57DDD5
split-complementary
#9257DD #DDD557 #5FDD57
monochromatic
#551F9A #722ACD #9257DD #B38AE7 #D4BDF2

Accessibility & contrast

On white

4.54
#9257DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9257DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257DD#FFFFFF#000000##000000
##9257DD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#827392
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9257dd;
/* rgb */ color: rgb(146, 87, 221);
/* oklch */ color: oklch(58.8% 0.197 300.8);
Tailwind
colors: {
  custom: {
    50: '#b789e8',
    500: '#9257dd',
    950: '#000000',
  },
}
SCSS
$custom: #9257dd;
$custom-light: #b789e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9257dd",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 266.418,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.19719,
    "h": 300.8
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#9257DD
secondary
#CBE1AE
accent
#CE177E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9257DD

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

Preview Lab → · Contrast checker → · Palette generator →

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