#9257DA#9257DA

#9257DA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.194 H 301.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9257DA
RGBrgb(146, 87, 218)
HSLhsl(267, 64%, 60%)
HSVhsv(267, 60%, 85%)
CMYKcmyk(33%, 60.1%, 0%, 14.5%)
CIE-LABlab(49.48, 50.10, -58.32)
CIE-LCHlch(49.48, 76.88, 310.66°)
OKLaboklab(58.6% 0.101 -0.1653)
OKLCHoklch(58.6% 0.194 301.4)
XYZxyz(27.9142, 17.9892, 68.3177)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257DA #9FDA57
analogous
#575EDA #9257DA #D357DA
triadic
#9257DA #DA9257 #57DA92
tetradic
#9257DA #DA575E #9FDA57 #57DAD3
square
#9257DA #DA575E #9FDA57 #57DAD3
split-complementary
#9257DA #DAD357 #5EDA57
monochromatic
#562196 #722CC8 #9257DA #B389E5 #D3BBF0

Accessibility & contrast

On white

4.57
#9257DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9257DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257DA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257DA#FFFFFF#000000##000000
##9257DA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0275DE
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#837290
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9257da;
/* rgb */ color: rgb(146, 87, 218);
/* oklch */ color: oklch(58.6% 0.194 301.4);
Tailwind
colors: {
  custom: {
    50: '#b689e6',
    500: '#9257da',
    950: '#000000',
  },
}
SCSS
$custom: #9257da;
$custom-light: #b689e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9257da",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 267.023,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.19373,
    "h": 301.4
  },
  "luminance": 0.17989
}

Semantic roles & 50–950 ramp

primary
#9257DA
secondary
#C9E0AD
accent
#E7419C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9257DA

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

Preview Lab → · Contrast checker → · Palette generator →

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