#9457DB#9457DB

#9457DB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.9% C 0.195 H 302.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9457DB
RGBrgb(148, 87, 219)
HSLhsl(268, 65%, 60%)
HSVhsv(268, 60%, 86%)
CMYKcmyk(32.4%, 60.3%, 0%, 14.1%)
CIE-LABlab(49.77, 50.79, -58.41)
CIE-LCHlch(49.77, 77.41, 311.01°)
OKLaboklab(58.88% 0.1035 -0.1656)
OKLCHoklch(58.88% 0.195 302)
XYZxyz(28.4041, 18.2267, 69.0258)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9457DB #9EDB57
analogous
#575CDB #9457DB #D657DB
triadic
#9457DB #DB9457 #57DB94
tetradic
#9457DB #DB575C #9EDB57 #57DBD6
square
#9457DB #DB575C #9EDB57 #57DBD6
split-complementary
#9457DB #DBD657 #5CDB57
monochromatic
#572097 #742BCA #9457DB #B489E6 #D4BCF1

Accessibility & contrast

On white

4.52
#9457DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9457DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9457DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9457DB#FFFFFF#000000##000000
##9457DB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0175DF
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#867391
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9457db;
/* rgb */ color: rgb(148, 87, 219);
/* oklch */ color: oklch(58.9% 0.195 302.0);
Tailwind
colors: {
  custom: {
    50: '#b889e7',
    500: '#9457db',
    950: '#000000',
  },
}
SCSS
$custom: #9457db;
$custom-light: #b889e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9457db",
  "rgb": {
    "r": 148,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 267.727,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.58875,
    "c": 0.19526,
    "h": 302
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#9457DB
secondary
#C9E0AD
accent
#E8409A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9457DB

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

Preview Lab → · Contrast checker → · Palette generator →

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