#9257DC#9257DC

#9257DC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.196 H 301.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9257DC
RGBrgb(146, 87, 220)
HSLhsl(267, 66%, 60%)
HSVhsv(267, 60%, 86%)
CMYKcmyk(33.6%, 60.5%, 0%, 13.7%)
CIE-LABlab(49.61, 50.59, -59.25)
CIE-LCHlch(49.61, 77.91, 310.49°)
OKLaboklab(58.73% 0.1009 -0.1681)
OKLCHoklch(58.73% 0.196 301)
XYZxyz(28.1774, 18.0945, 69.7044)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257DC #A1DC57
analogous
#575EDC #9257DC #D557DC
triadic
#9257DC #DC9257 #57DC92
tetradic
#9257DC #DC575E #A1DC57 #57DCD5
square
#9257DC #DC575E #A1DC57 #57DCD5
split-complementary
#9257DC #DCD557 #5EDC57
monochromatic
#552099 #722ACB #9257DC #B38AE7 #D4BCF1

Accessibility & contrast

On white

4.55
#9257DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9257DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257DC#FFFFFF#000000##000000
##9257DC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#837391
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9257dc;
/* rgb */ color: rgb(146, 87, 220);
/* oklch */ color: oklch(58.7% 0.196 301.0);
Tailwind
colors: {
  custom: {
    50: '#b689e8',
    500: '#9257dc',
    950: '#000000',
  },
}
SCSS
$custom: #9257dc;
$custom-light: #b689e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9257dc",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 266.617,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.19603,
    "h": 301
  },
  "luminance": 0.18095
}

Semantic roles & 50–950 ramp

primary
#9257DC
secondary
#CAE1AE
accent
#CD187D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9257DC

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

Preview Lab → · Contrast checker → · Palette generator →

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