#925CEF#925CEF

#925CEF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.211 H 296.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#925CEF
RGBrgb(146, 92, 239)
HSLhsl(262, 82%, 65%)
HSVhsv(262, 62%, 94%)
CMYKcmyk(38.9%, 61.5%, 0%, 6.3%)
CIE-LABlab(51.83, 52.74, -66.37)
CIE-LCHlch(51.83, 84.77, 308.47°)
OKLaboklab(60.74% 0.0942 -0.189)
OKLCHoklch(60.74% 0.211 296.5)
XYZxyz(31.2572, 19.9967, 83.8575)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#925CEF #B9EF5C
analogous
#5C6FEF #925CEF #DC5CEF
triadic
#925CEF #EF925C #5CEF92
tetradic
#925CEF #EF5C6F #B9EF5C #5CEFDC
square
#925CEF #EF5C6F #B9EF5C #5CEFDC
split-complementary
#925CEF #EFDC5C #6FEF5C
monochromatic
#5213BE #6D24EA #925CEF #B794F4 #DDCBFA

Accessibility & contrast

On white

4.20
#925CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#925CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #925CEF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##925CEF#FFFFFF#000000##000000
##925CEF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#037AEC
Tritanopia (blue-blind)
#7B7D9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #925cef;
/* rgb */ color: rgb(146, 92, 239);
/* oklch */ color: oklch(60.7% 0.211 296.5);
Tailwind
colors: {
  custom: {
    50: '#b88df5',
    500: '#925cef',
    950: '#000000',
  },
}
SCSS
$custom: #925cef;
$custom-light: #b88df5;
$custom-dark: #000000;
JSON
{
  "hex": "#925cef",
  "rgb": {
    "r": 146,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 262.041,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.2112,
    "h": 296.5
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#925CEF
secondary
#DAECBA
accent
#DF078F
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #925CEF

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

Preview Lab → · Contrast checker → · Palette generator →

#925CEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva