#945AE7#945AE7

#945AE7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.205 H 299.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#945AE7
RGBrgb(148, 90, 231)
HSLhsl(265, 75%, 63%)
HSVhsv(265, 61%, 91%)
CMYKcmyk(35.9%, 61%, 0%, 9.4%)
CIE-LABlab(51.13, 52.19, -63.01)
CIE-LCHlch(51.13, 81.82, 309.63°)
OKLaboklab(60.11% 0.0995 -0.1791)
OKLCHoklch(60.11% 0.205 299.1)
XYZxyz(30.2891, 19.3774, 77.7303)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945AE7 #ADE75A
analogous
#5A66E7 #945AE7 #DB5AE7
triadic
#945AE7 #E7945A #5AE794
tetradic
#945AE7 #E75A66 #ADE75A #5AE7DB
square
#945AE7 #E75A66 #ADE75A #5AE7DB
split-complementary
#945AE7 #E7DB5A #66E75A
monochromatic
#5619AD #7125DF #945AE7 #B78FEF #D9C5F7

Accessibility & contrast

On white

4.31
#945AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#945AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945AE7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945AE7#FFFFFF#000000##000000
##945AE71.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#2079E4
Tritanopia (blue-blind)
#817998
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945ae7;
/* rgb */ color: rgb(148, 90, 231);
/* oklch */ color: oklch(60.1% 0.205 299.1);
Tailwind
colors: {
  custom: {
    50: '#b88bef',
    500: '#945ae7',
    950: '#000000',
  },
}
SCSS
$custom: #945ae7;
$custom-light: #b88bef;
$custom-dark: #000000;
JSON
{
  "hex": "#945ae7",
  "rgb": {
    "r": 148,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 264.681,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.20488,
    "h": 299.1
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#945AE7
secondary
#D3E8B5
accent
#D70F84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945AE7

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

Preview Lab → · Contrast checker → · Palette generator →

#945AE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva