#907AFE#907AFE

#907AFE is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.3% C 0.189 H 287.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#907AFE
RGBrgb(144, 122, 254)
HSLhsl(250, 99%, 74%)
HSVhsv(250, 52%, 100%)
CMYKcmyk(43.3%, 52%, 0%, 0.4%)
CIE-LABlab(58.98, 39.74, -63.20)
CIE-LCHlch(58.98, 74.66, 302.16°)
OKLaboklab(66.26% 0.0576 -0.1797)
OKLCHoklch(66.26% 0.189 287.8)
XYZxyz(36.3454, 27.0027, 97.0437)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907AFE #E8FE7A
analogous
#7AA6FE #907AFE #D27AFE
triadic
#907AFE #FE907A #7AFE90
tetradic
#907AFE #FE7AA6 #E8FE7A #7AFED2
square
#907AFE #FE7AA6 #E8FE7A #7AFED2
split-complementary
#907AFE #FED27A #A6FE7A
monochromatic
#2C02FC #5D3DFE #907AFE #C3B7FE #E6E1FF

Accessibility & contrast

On white

3.28
#907AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#907AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907AFE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907AFE#FFFFFF#000000##000000
##907AFE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#3B8AFB
Tritanopia (blue-blind)
#6F96B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #907afe;
/* rgb */ color: rgb(144, 122, 254);
/* oklch */ color: oklch(66.3% 0.189 287.8);
Tailwind
colors: {
  custom: {
    50: '#b6a1ff',
    500: '#907afe',
    950: '#000000',
  },
}
SCSS
$custom: #907afe;
$custom-light: #b6a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#907afe",
  "rgb": {
    "r": 144,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 250,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66256,
    "c": 0.18873,
    "h": 287.8
  },
  "luminance": 0.27004
}

Semantic roles & 50–950 ramp

primary
#907AFE
secondary
#F1F7D4
accent
#E600BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #907AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#907AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva