#7231C1#7231C1

#7231C1 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.209 H 298.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7231C1
RGBrgb(114, 49, 193)
HSLhsl(267, 60%, 47%)
HSVhsv(267, 75%, 76%)
CMYKcmyk(40.9%, 74.6%, 0%, 24.3%)
CIE-LABlab(37.16, 56.18, -64.04)
CIE-LCHlch(37.16, 85.19, 311.26°)
OKLaboklab(48.36% 0.1004 -0.1831)
OKLCHoklch(48.36% 0.209 298.7)
XYZxyz(17.6609, 9.6240, 51.3689)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7231C1 #80C131
analogous
#3138C1 #7231C1 #BA31C1
triadic
#7231C1 #C17231 #31C172
tetradic
#7231C1 #C13138 #80C131 #31C1BA
square
#7231C1 #C13138 #80C131 #31C1BA
split-complementary
#7231C1 #C1BA31 #38C131
monochromatic
#38185F #552590 #7231C1 #925AD5 #B28BE2

Accessibility & contrast

On white

7.18
#7231C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7231C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7231C1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7231C1#FFFFFF#000000##FFFFFF
##7231C11.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#5F5677
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7231c1;
/* rgb */ color: rgb(114, 49, 193);
/* oklch */ color: oklch(48.4% 0.209 298.7);
Tailwind
colors: {
  custom: {
    50: '#a170d5',
    500: '#7231c1',
    950: '#000000',
  },
}
SCSS
$custom: #7231c1;
$custom-light: #a170d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7231c1",
  "rgb": {
    "r": 114,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 267.083,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.20882,
    "h": 298.7
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#7231C1
secondary
#AACC82
accent
#E3459C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7231C1

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

Preview Lab → · Contrast checker → · Palette generator →

#7231C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva